package com.wn.mapper;

import com.wn.bean.Building;

import java.util.List;

/**
 * @author yellow Docter
 * @date 2022 -07-12
 * @desc
 */
public interface BuildingMapper {

    List<Building> findAll();

    int buildDeleteById(Integer id);

    Building buildFindById(Integer id);

    int updateBuild(Building build);

    int addBuilding(Building build);

    /**
     * 批量删除
     * @param ids
     * @return
     */
    int deleteRows(List<Integer> ids);
}
